package com.wwmz.decorator.pattern.battercake.v2;

/**
 * Created by wumz on 2020/9/19 21:33
 */
public class EggDecorator extends BattercakeDecotator {
    public EggDecorator(Battercake battercake) {
        super(battercake);
    }

    public String getMsg(){ return super.getMsg() + "1个鸡蛋";}

    public int getPrice(){ return super.getPrice() + 1;}
}
